export const CODE = {
    SUCCESS: 200,
    ERROR: 400,
    NOT_FOUND: 404,
    UNAUTHORIZED: 401,
    FORBIDDEN: 403,
    SERVER_ERROR: 500,
    BAD_GATEWAY: 502,
    SERVICE_UNAVAILABLE: 503,
    GATEWAY_TIMEOUT: 504,
};

export const MSG = {
    SUCCESS: '成功',
    ERROR: '失败',
    NOT_FOUND: '未找到',
    UNAUTHORIZED: '未授权',
    FORBIDDEN: '禁止访问',
    SERVER_ERROR: '服务器错误',
    BAD_GATEWAY: '错误的网关',
    SERVICE_UNAVAILABLE: '服务不可用',
    GATEWAY_TIMEOUT: '网关超时',
};